package org.budo.datasource.routing.connection;

import java.sql.Connection;

import org.budo.datasource.routing.BudoRoutingDataSource;

/**
 * @author lmw
 */
public abstract class AbstractBudoRoutingConnection extends NotSupportedBudoRoutingConnection {
    private BudoRoutingDataSource routingDataSource;

    private Connection defaultConnection;

    public Connection getDefaultConnection() {
        return defaultConnection;
    }

    public void setDefaultConnection(Connection defaultConnection) {
        this.defaultConnection = defaultConnection;
    }

    public BudoRoutingDataSource getRoutingDataSource() {
        return routingDataSource;
    }

    public void setRoutingDataSource(BudoRoutingDataSource routingDataSource) {
        this.routingDataSource = routingDataSource;
    }
}